<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxVehicleUtilControl.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('PxVehicleUtilControl_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">PxVehicleUtilControl.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="PxVehicleUtilControl_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// Redistribution and use in source and binary forms, with or without</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// modification, are permitted provided that the following conditions</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// are met:</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  * Redistributions of source code must retain the above copyright</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//    notice, this list of conditions and the following disclaimer.</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//  * Redistributions in binary form must reproduce the above copyright</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//    notice, this list of conditions and the following disclaimer in the</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//    documentation and/or other materials provided with the distribution.</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//  * Neither the name of NVIDIA CORPORATION nor the names of its</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">//    contributors may be used to endorse or promote products derived</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">//    from this software without specific prior written permission.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS &#39;&#39;AS IS&#39;&#39; AND ANY</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">// PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">// Copyright (c) 2008-2021 NVIDIA Corporation. All rights reserved.</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.  </span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifndef PX_VEHICLE_CONTROL_H</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#define PX_VEHICLE_CONTROL_H</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxVehicleSDK_8h.html">vehicle/PxVehicleSDK.h</a>&quot;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxVehicleDrive4W_8h.html">vehicle/PxVehicleDrive4W.h</a>&quot;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxVehicleDriveNW_8h.html">vehicle/PxVehicleDriveNW.h</a>&quot;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxVehicleDriveTank_8h.html">vehicle/PxVehicleDriveTank.h</a>&quot;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#if !PX_DOXYGEN</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacephysx.html">physx</a></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;{</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#if PX_CHECKED</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="keywordtype">void</span> testValidAnalogValue(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#ab4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> actualValue, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#ab4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> minVal, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#ab4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> maxVal, <span class="keyword">const</span> <span class="keywordtype">char</span>* errorString);</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structPxVehicleKeySmoothingData.html">   54</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structPxVehicleKeySmoothingData.html">PxVehicleKeySmoothingData</a></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;{</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="structPxVehicleKeySmoothingData.html#ae5fbc2291eed6d8436a7cc1d9675aeb5">   61</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mRiseRates[<a class="code" href="classPxVehicleDriveDynData.html#a9eb80a7fe1316aec1a2e1be319e97a65abb804b086657c71c6737676966a60980">PxVehicleDriveDynData::eMAX_NB_ANALOG_INPUTS</a>];</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structPxVehicleKeySmoothingData.html#a4fef7697bc3c0acc926db804f81aa7a0">   66</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mFallRates[<a class="code" href="classPxVehicleDriveDynData.html#a9eb80a7fe1316aec1a2e1be319e97a65abb804b086657c71c6737676966a60980">PxVehicleDriveDynData::eMAX_NB_ANALOG_INPUTS</a>];</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;};</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<a class="code" href="group__foundation.html#gab12cc8cbd08c9c19ab0d40b7f789012e">PX_COMPILE_TIME_ASSERT</a>(0==(<span class="keyword">sizeof</span>(<a class="code" href="structPxVehicleKeySmoothingData.html">PxVehicleKeySmoothingData</a>)&amp; 0x0f));</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="structPxVehiclePadSmoothingData.html">   74</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structPxVehiclePadSmoothingData.html">PxVehiclePadSmoothingData</a></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;{</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="structPxVehiclePadSmoothingData.html#a6054bf67f4787bf6689df6f7d0809a73">   81</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mRiseRates[<a class="code" href="classPxVehicleDriveDynData.html#a9eb80a7fe1316aec1a2e1be319e97a65abb804b086657c71c6737676966a60980">PxVehicleDriveDynData::eMAX_NB_ANALOG_INPUTS</a>];</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="structPxVehiclePadSmoothingData.html#a52593d5f4e090f72d0fe61284fbb249f">   86</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mFallRates[<a class="code" href="classPxVehicleDriveDynData.html#a9eb80a7fe1316aec1a2e1be319e97a65abb804b086657c71c6737676966a60980">PxVehicleDriveDynData::eMAX_NB_ANALOG_INPUTS</a>];</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;};</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<a class="code" href="group__foundation.html#gab12cc8cbd08c9c19ab0d40b7f789012e">PX_COMPILE_TIME_ASSERT</a>(0==(<span class="keyword">sizeof</span>(<a class="code" href="structPxVehiclePadSmoothingData.html">PxVehiclePadSmoothingData</a>)&amp; 0x0f));</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html">   94</a></span>&#160;<span class="keyword">class </span><a class="code" href="classPxVehicleDrive4WRawInputData.html">PxVehicleDrive4WRawInputData</a></div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;{</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#af897772ee3457a2100945890f3d025ef">   98</a></span>&#160;    <a class="code" href="classPxVehicleDrive4WRawInputData.html#af897772ee3457a2100945890f3d025ef">PxVehicleDrive4WRawInputData</a>()</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    {</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        <span class="keywordflow">for</span>(<a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> i=0;i&lt;<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a782d6557bda10f7a3a01a74836f5bb24">PxVehicleDrive4WControl::eMAX_NB_DRIVE4W_ANALOG_INPUTS</a>;i++)</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;        {</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;            mRawDigitalInputs[i]=<span class="keyword">false</span>;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;            mRawAnalogInputs[i]=0.0f;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;        }</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        mGearUp = <span class="keyword">false</span>;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        mGearDown = <span class="keyword">false</span>;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    }</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#a8c3d02e579f978409d9ad15a71c46bb5">  110</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#a8c3d02e579f978409d9ad15a71c46bb5">~PxVehicleDrive4WRawInputData</a>()</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    {</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    }</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#a39a229c2fbc12f23ab146a6ce6b014ee">  118</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#a39a229c2fbc12f23ab146a6ce6b014ee">setDigitalAccel</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> accelKeyPressed)            {mRawDigitalInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a7864222af5bf4a1a776dc4115d1bda7a">PxVehicleDrive4WControl::eANALOG_INPUT_ACCEL</a>]=accelKeyPressed;}</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#aa5a7c8943c3ad9b20901988388614505">  124</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#aa5a7c8943c3ad9b20901988388614505">setDigitalBrake</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> brakeKeyPressed)            {mRawDigitalInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a904c2f2dd96271d5cd0562631b2ecfd2">PxVehicleDrive4WControl::eANALOG_INPUT_BRAKE</a>]=brakeKeyPressed;}</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#ad63aa0083730fbafb77e60b76fc9c985">  130</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#ad63aa0083730fbafb77e60b76fc9c985">setDigitalHandbrake</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> handbrakeKeyPressed)    {mRawDigitalInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a7785ddf2b2ed793b8cb7eac20a2f0b8d">PxVehicleDrive4WControl::eANALOG_INPUT_HANDBRAKE</a>]=handbrakeKeyPressed;}</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#ac0bee2d84b744b13af694bf34384bb76">  136</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#ac0bee2d84b744b13af694bf34384bb76">setDigitalSteerLeft</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> steerLeftKeyPressed)    {mRawDigitalInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83af01b9d695fb73bb3e0316fb01db2037f">PxVehicleDrive4WControl::eANALOG_INPUT_STEER_LEFT</a>]=steerLeftKeyPressed;}</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#aa4654bf9fa296e6e2fe3433cc1a79918">  142</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#aa4654bf9fa296e6e2fe3433cc1a79918">setDigitalSteerRight</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> steerRightKeyPressed)  {mRawDigitalInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83aabafb1fb6ab8cec26ef7f1c4e3c5fb0d">PxVehicleDrive4WControl::eANALOG_INPUT_STEER_RIGHT</a>]=steerRightKeyPressed;}</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#ad51aa73a1241b4dd27de1c810aca5ae4">  149</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#ad51aa73a1241b4dd27de1c810aca5ae4">getDigitalAccel</a>()<span class="keyword"> const                                </span>{<span class="keywordflow">return</span> mRawDigitalInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a7864222af5bf4a1a776dc4115d1bda7a">PxVehicleDrive4WControl::eANALOG_INPUT_ACCEL</a>];}</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#aa505f2e63b2d0c78ff40f14b190b41dc">  155</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#aa505f2e63b2d0c78ff40f14b190b41dc">getDigitalBrake</a>()<span class="keyword"> const                                </span>{<span class="keywordflow">return</span> mRawDigitalInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a904c2f2dd96271d5cd0562631b2ecfd2">PxVehicleDrive4WControl::eANALOG_INPUT_BRAKE</a>];}</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#abb4fc64bfd482be992c32ef447b1f46b">  161</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#abb4fc64bfd482be992c32ef447b1f46b">getDigitalHandbrake</a>()<span class="keyword"> const                            </span>{<span class="keywordflow">return</span> mRawDigitalInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a7785ddf2b2ed793b8cb7eac20a2f0b8d">PxVehicleDrive4WControl::eANALOG_INPUT_HANDBRAKE</a>];}</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#aaaf283825f0b12f470ef3a1f373e3d96">  167</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#aaaf283825f0b12f470ef3a1f373e3d96">getDigitalSteerLeft</a>()<span class="keyword"> const                            </span>{<span class="keywordflow">return</span> mRawDigitalInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83af01b9d695fb73bb3e0316fb01db2037f">PxVehicleDrive4WControl::eANALOG_INPUT_STEER_LEFT</a>];}</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#aca18dd87c780d3658a0c1c120446218a">  173</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#aca18dd87c780d3658a0c1c120446218a">getDigitalSteerRight</a>()<span class="keyword"> const                           </span>{<span class="keywordflow">return</span> mRawDigitalInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83aabafb1fb6ab8cec26ef7f1c4e3c5fb0d">PxVehicleDrive4WControl::eANALOG_INPUT_STEER_RIGHT</a>];}</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#af9c058df3af57913173e106fd51645d9">  180</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#af9c058df3af57913173e106fd51645d9">setAnalogAccel</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> accel)                     </div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    {</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="preprocessor">#if PX_CHECKED</span></div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;        testValidAnalogValue(accel, 0.0f, 1.0f, <span class="stringliteral">&quot;Analog accel must be in range (0,1)&quot;</span>);</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        mRawAnalogInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a7864222af5bf4a1a776dc4115d1bda7a">PxVehicleDrive4WControl::eANALOG_INPUT_ACCEL</a>]=accel;</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    }</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#a96d32688f239c2f9379616c6fbbde422">  192</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#a96d32688f239c2f9379616c6fbbde422">setAnalogBrake</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> brake)                     </div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    {</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor">#if PX_CHECKED</span></div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        testValidAnalogValue(brake, 0.0f, 1.0f, <span class="stringliteral">&quot;Analog brake must be in range (0,1)&quot;</span>);</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        mRawAnalogInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a904c2f2dd96271d5cd0562631b2ecfd2">PxVehicleDrive4WControl::eANALOG_INPUT_BRAKE</a>]=brake;</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    }</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#ab2541ef77142c3fc2b4c8a2ce197f512">  204</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#ab2541ef77142c3fc2b4c8a2ce197f512">setAnalogHandbrake</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> handbrake)             </div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    {</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;<span class="preprocessor">#if PX_CHECKED</span></div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        testValidAnalogValue(handbrake, 0.0f, 1.0f, <span class="stringliteral">&quot;Analog handbrake must be in range (0,1)&quot;</span>);</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        mRawAnalogInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a7785ddf2b2ed793b8cb7eac20a2f0b8d">PxVehicleDrive4WControl::eANALOG_INPUT_HANDBRAKE</a>]=handbrake;</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    }</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;</div><div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#a55b3e0151ca011438b5de595741e0ccf">  216</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#a55b3e0151ca011438b5de595741e0ccf">setAnalogSteer</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> steer)                     </div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    {</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="preprocessor">#if PX_CHECKED</span></div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;        testValidAnalogValue(steer, -1.0f, 1.0f, <span class="stringliteral">&quot;Analog steer must be in range (-1,1)&quot;</span>);</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;        mRawAnalogInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83aabafb1fb6ab8cec26ef7f1c4e3c5fb0d">PxVehicleDrive4WControl::eANALOG_INPUT_STEER_RIGHT</a>]=steer;</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    }</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;</div><div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#a3810abe32f0ef2f586338db4dec5dd5f">  228</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxVehicleDrive4WRawInputData.html#a3810abe32f0ef2f586338db4dec5dd5f">getAnalogAccel</a>()<span class="keyword"> const                               </span>{<span class="keywordflow">return</span> mRawAnalogInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a7864222af5bf4a1a776dc4115d1bda7a">PxVehicleDrive4WControl::eANALOG_INPUT_ACCEL</a>];}</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;</div><div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#a593f6e943b54f4f4277a4c41153a762d">  234</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxVehicleDrive4WRawInputData.html#a593f6e943b54f4f4277a4c41153a762d">getAnalogBrake</a>()<span class="keyword"> const                               </span>{<span class="keywordflow">return</span> mRawAnalogInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a904c2f2dd96271d5cd0562631b2ecfd2">PxVehicleDrive4WControl::eANALOG_INPUT_BRAKE</a>];}</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;</div><div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#ac560ad95fbaab0a989a49a6fe2848463">  240</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxVehicleDrive4WRawInputData.html#ac560ad95fbaab0a989a49a6fe2848463">getAnalogHandbrake</a>()<span class="keyword"> const                           </span>{<span class="keywordflow">return</span> mRawAnalogInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a7785ddf2b2ed793b8cb7eac20a2f0b8d">PxVehicleDrive4WControl::eANALOG_INPUT_HANDBRAKE</a>];}</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;</div><div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#a35d4130df26dd732d7ad84eedd2a3097">  245</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxVehicleDrive4WRawInputData.html#a35d4130df26dd732d7ad84eedd2a3097">getAnalogSteer</a>()<span class="keyword"> const                               </span>{<span class="keywordflow">return</span> mRawAnalogInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83aabafb1fb6ab8cec26ef7f1c4e3c5fb0d">PxVehicleDrive4WControl::eANALOG_INPUT_STEER_RIGHT</a>];}</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;</div><div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#add91327bf12c6c5578e20d9df82d0432">  251</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#add91327bf12c6c5578e20d9df82d0432">setGearUp</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> gearUpKeyPressed)                 {mGearUp=gearUpKeyPressed;}</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;</div><div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#a5849bbe5d93b0a6178fe05413fd2f38e">  257</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#a5849bbe5d93b0a6178fe05413fd2f38e">setGearDown</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> gearDownKeyPressed)             {mGearDown=gearDownKeyPressed;}</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div><div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#a1c00eeaa121008edc961f29d94b9b0b9">  263</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#a1c00eeaa121008edc961f29d94b9b0b9">getGearUp</a>()<span class="keyword"> const                                      </span>{<span class="keywordflow">return</span> mGearUp;}</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;</div><div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#a9cdadaadd20df14f593d82742673a753">  269</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#a9cdadaadd20df14f593d82742673a753">getGearDown</a>()<span class="keyword"> const                                    </span>{<span class="keywordflow">return</span> mGearDown;}</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;</div><div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#ae09f1dff2490480c365d48416926fe8d">  273</a></span>&#160;    <span class="keywordtype">bool</span> mRawDigitalInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a782d6557bda10f7a3a01a74836f5bb24">PxVehicleDrive4WControl::eMAX_NB_DRIVE4W_ANALOG_INPUTS</a>];</div><div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#a93a7463803eb71dcfb32eeca0c7c3ac0">  274</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mRawAnalogInputs[<a class="code" href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a782d6557bda10f7a3a01a74836f5bb24">PxVehicleDrive4WControl::eMAX_NB_DRIVE4W_ANALOG_INPUTS</a>];</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;</div><div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#acf0b896be885e802b7d019b99fdc755d">  276</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#acf0b896be885e802b7d019b99fdc755d">mGearUp</a>;</div><div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="classPxVehicleDrive4WRawInputData.html#aae40c329bffbd77ccfe942218a7bfe0e">  277</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html#aae40c329bffbd77ccfe942218a7bfe0e">mGearDown</a>;</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;};</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__vehicle.html#ga61b39294176ee679d4d1229d3ad95966">PxVehicleDrive4WSmoothDigitalRawInputsAndSetAnalogInputs</a></div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;    (<span class="keyword">const</span> <a class="code" href="structPxVehicleKeySmoothingData.html">PxVehicleKeySmoothingData</a>&amp; keySmoothing, <span class="keyword">const</span> <a class="code" href="classPxFixedSizeLookupTable.html">PxFixedSizeLookupTable&lt;8&gt;</a>&amp; steerVsForwardSpeedTable,</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;     <span class="keyword">const</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html">PxVehicleDrive4WRawInputData</a>&amp; rawInputData, </div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;     <span class="keyword">const</span> <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> timestep, </div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;     <span class="keyword">const</span> <span class="keywordtype">bool</span> isVehicleInAir, </div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;     <a class="code" href="classPxVehicleDrive4W.html">PxVehicleDrive4W</a>&amp; focusVehicle);</div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__vehicle.html#ga784f2317a01aa2367b6170bfabdc5097">PxVehicleDrive4WSmoothAnalogRawInputsAndSetAnalogInputs</a></div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;    (<span class="keyword">const</span> <a class="code" href="structPxVehiclePadSmoothingData.html">PxVehiclePadSmoothingData</a>&amp; padSmoothing, <span class="keyword">const</span> <a class="code" href="classPxFixedSizeLookupTable.html">PxFixedSizeLookupTable&lt;8&gt;</a>&amp; steerVsForwardSpeedTable,</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;     <span class="keyword">const</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html">PxVehicleDrive4WRawInputData</a>&amp; rawInputData, </div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;     <span class="keyword">const</span> <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> timestep, </div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;     <span class="keyword">const</span> <span class="keywordtype">bool</span> isVehicleInAir, </div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;     <a class="code" href="classPxVehicleDrive4W.html">PxVehicleDrive4W</a>&amp; focusVehicle);</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;</div><div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="classPxVehicleDriveNWRawInputData.html">  319</a></span>&#160;<span class="keyword">class </span><a class="code" href="classPxVehicleDriveNWRawInputData.html">PxVehicleDriveNWRawInputData</a> : <span class="keyword">public</span> <a class="code" href="classPxVehicleDrive4WRawInputData.html">PxVehicleDrive4WRawInputData</a></div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;{</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;</div><div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="classPxVehicleDriveNWRawInputData.html#a69da40337ef28425e015fc3ba0bde4eb">  323</a></span>&#160;    <a class="code" href="classPxVehicleDriveNWRawInputData.html#a69da40337ef28425e015fc3ba0bde4eb">PxVehicleDriveNWRawInputData</a>() : <a class="code" href="classPxVehicleDrive4WRawInputData.html">PxVehicleDrive4WRawInputData</a>(){}</div><div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="classPxVehicleDriveNWRawInputData.html#ad6f9689e0d5fd748f336891efe91bedb">  324</a></span>&#160;    <a class="code" href="classPxVehicleDriveNWRawInputData.html#ad6f9689e0d5fd748f336891efe91bedb">~PxVehicleDriveNWRawInputData</a>(){}</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;};</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__vehicle.html#gaa537690bce749bdce4e5eca80d43d53a">PxVehicleDriveNWSmoothDigitalRawInputsAndSetAnalogInputs</a></div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;    (<span class="keyword">const</span> <a class="code" href="structPxVehicleKeySmoothingData.html">PxVehicleKeySmoothingData</a>&amp; keySmoothing, <span class="keyword">const</span> <a class="code" href="classPxFixedSizeLookupTable.html">PxFixedSizeLookupTable&lt;8&gt;</a>&amp; steerVsForwardSpeedTable,</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;     <span class="keyword">const</span> <a class="code" href="classPxVehicleDriveNWRawInputData.html">PxVehicleDriveNWRawInputData</a>&amp; rawInputData, </div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;     <span class="keyword">const</span> <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> timestep, </div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;     <span class="keyword">const</span> <span class="keywordtype">bool</span> isVehicleInAir, </div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;     <a class="code" href="classPxVehicleDriveNW.html">PxVehicleDriveNW</a>&amp; focusVehicle);</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__vehicle.html#ga2da633b926f231e27c27dcb877535bc3">PxVehicleDriveNWSmoothAnalogRawInputsAndSetAnalogInputs</a></div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;    (<span class="keyword">const</span> <a class="code" href="structPxVehiclePadSmoothingData.html">PxVehiclePadSmoothingData</a>&amp; padSmoothing, <span class="keyword">const</span> <a class="code" href="classPxFixedSizeLookupTable.html">PxFixedSizeLookupTable&lt;8&gt;</a>&amp; steerVsForwardSpeedTable,</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;     <span class="keyword">const</span> <a class="code" href="classPxVehicleDriveNWRawInputData.html">PxVehicleDriveNWRawInputData</a>&amp; rawInputData, </div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;     <span class="keyword">const</span> <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> timestep, </div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;     <span class="keyword">const</span> <span class="keywordtype">bool</span> isVehicleInAir, </div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;     <a class="code" href="classPxVehicleDriveNW.html">PxVehicleDriveNW</a>&amp; focusVehicle);</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;</div><div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html">  366</a></span>&#160;<span class="keyword">class </span><a class="code" href="classPxVehicleDriveTankRawInputData.html">PxVehicleDriveTankRawInputData</a></div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;{</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;</div><div class="line"><a name="l00370"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a99b71417ecdde92487aa06d3c0ecb832">  370</a></span>&#160;    <a class="code" href="classPxVehicleDriveTankRawInputData.html#a99b71417ecdde92487aa06d3c0ecb832">PxVehicleDriveTankRawInputData</a>(<span class="keyword">const</span> <a class="code" href="structPxVehicleDriveTankControlModel.html#a15800ba4f6142803c1b0d0098a942b13">PxVehicleDriveTankControlModel::Enum</a> mode)</div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;        : mMode(mode)</div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;    {</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;        <span class="keywordflow">for</span>(<a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> i=0;i&lt;<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca1e723ae081f8a1849fab0baab509bd04">PxVehicleDriveTankControl::eMAX_NB_DRIVETANK_ANALOG_INPUTS</a>;i++)</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;        {</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;            mRawAnalogInputs[i]=0.0f;</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;            mRawDigitalInputs[i]=<span class="keyword">false</span>;</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;        }</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;        mGearUp=<span class="keyword">false</span>;</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;        mGearDown=<span class="keyword">false</span>;</div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;    }</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;</div><div class="line"><a name="l00383"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a7fc4bdc316bf48cb15dfa26a43dd6978">  383</a></span>&#160;    <a class="code" href="classPxVehicleDriveTankRawInputData.html#a7fc4bdc316bf48cb15dfa26a43dd6978">~PxVehicleDriveTankRawInputData</a>()</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;    {</div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;    }</div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;</div><div class="line"><a name="l00391"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a1114b2a8aaeea8218fd48d537d9022e9">  391</a></span>&#160;    <a class="code" href="structPxVehicleDriveTankControlModel.html#a15800ba4f6142803c1b0d0098a942b13">PxVehicleDriveTankControlModel::Enum</a> <a class="code" href="classPxVehicleDriveTankRawInputData.html#a1114b2a8aaeea8218fd48d537d9022e9">getDriveModel</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;        <span class="keywordflow">return</span> mMode;</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;    }</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;</div><div class="line"><a name="l00400"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#aba1a38302de5b91b35c83d79053fc564">  400</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#aba1a38302de5b91b35c83d79053fc564">setDigitalAccel</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> b)                  {mRawDigitalInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca4d4d74266256f5785bff0ab396eb1b6a">PxVehicleDriveTankControl::eANALOG_INPUT_ACCEL</a>]=b;}</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;</div><div class="line"><a name="l00406"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#ae5379f5da9762716cf7d567af369ed1e">  406</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#ae5379f5da9762716cf7d567af369ed1e">setDigitalLeftThrust</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> b)             {mRawDigitalInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca5fd1badaa124dfe45b78ea77d41e5a88">PxVehicleDriveTankControl::eANALOG_INPUT_THRUST_LEFT</a>]=b;}</div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;</div><div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#aa4981fac8d036a4616ba2980f757e3ab">  412</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#aa4981fac8d036a4616ba2980f757e3ab">setDigitalRightThrust</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> b)            {mRawDigitalInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5caf9fe3fceb9090bb618d8ecbc990034f3">PxVehicleDriveTankControl::eANALOG_INPUT_THRUST_RIGHT</a>]=b;}</div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;</div><div class="line"><a name="l00418"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a96183c87242fda2d2ed1ca56fb24977d">  418</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#a96183c87242fda2d2ed1ca56fb24977d">setDigitalLeftBrake</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> b)              {mRawDigitalInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca0e0c1828cf31979089fa9a82c1da9d49">PxVehicleDriveTankControl::eANALOG_INPUT_BRAKE_LEFT</a>]=b;}</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;</div><div class="line"><a name="l00424"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#ad98a22d3fcdbaf1f2731e3072d3315c6">  424</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#ad98a22d3fcdbaf1f2731e3072d3315c6">setDigitalRightBrake</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> b)             {mRawDigitalInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca2bc6e1cf01b82577d18626f6b2186f2b">PxVehicleDriveTankControl::eANALOG_INPUT_BRAKE_RIGHT</a>]=b;}</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;</div><div class="line"><a name="l00430"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a26c7b1565690a17ca3837a25fb8332ba">  430</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#a26c7b1565690a17ca3837a25fb8332ba">getDigitalAccel</a>()<span class="keyword"> const                        </span>{<span class="keywordflow">return</span> mRawDigitalInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca4d4d74266256f5785bff0ab396eb1b6a">PxVehicleDriveTankControl::eANALOG_INPUT_ACCEL</a>];}</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;</div><div class="line"><a name="l00436"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a29658e38bd6955d4d5e96836db89dcfa">  436</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#a29658e38bd6955d4d5e96836db89dcfa">getDigitalLeftThrust</a>()<span class="keyword"> const                   </span>{<span class="keywordflow">return</span> mRawDigitalInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca5fd1badaa124dfe45b78ea77d41e5a88">PxVehicleDriveTankControl::eANALOG_INPUT_THRUST_LEFT</a>];}</div><div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;</div><div class="line"><a name="l00442"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#ac22416b1a87417927f048b4bbc29b328">  442</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#ac22416b1a87417927f048b4bbc29b328">getDigitalRightThrust</a>()<span class="keyword"> const                  </span>{<span class="keywordflow">return</span> mRawDigitalInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5caf9fe3fceb9090bb618d8ecbc990034f3">PxVehicleDriveTankControl::eANALOG_INPUT_THRUST_RIGHT</a>];}</div><div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;</div><div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a45834fa9777a3d5f28b315809623a35c">  448</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#a45834fa9777a3d5f28b315809623a35c">getDigitalLeftBrake</a>()<span class="keyword"> const                    </span>{<span class="keywordflow">return</span> mRawDigitalInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca0e0c1828cf31979089fa9a82c1da9d49">PxVehicleDriveTankControl::eANALOG_INPUT_BRAKE_LEFT</a>];}</div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;</div><div class="line"><a name="l00454"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#aff2c19eccad2bec40dcf7eaf5f5de618">  454</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#aff2c19eccad2bec40dcf7eaf5f5de618">getDigitalRightBrake</a>()<span class="keyword"> const                   </span>{<span class="keywordflow">return</span> mRawDigitalInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca2bc6e1cf01b82577d18626f6b2186f2b">PxVehicleDriveTankControl::eANALOG_INPUT_BRAKE_RIGHT</a>];}</div><div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;</div><div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;</div><div class="line"><a name="l00462"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a1af6a6d1b1fb77d0bcc7e5af1e350a14">  462</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#a1af6a6d1b1fb77d0bcc7e5af1e350a14">setAnalogAccel</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#ab4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> accel)                  </div><div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;    {</div><div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;<span class="preprocessor">#if PX_CHECKED</span></div><div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;        testValidAnalogValue(accel, 0.0f, 1.0f, <span class="stringliteral">&quot;Tank analog accel must be in range (-1,1)&quot;</span>);</div><div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;        mRawAnalogInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca4d4d74266256f5785bff0ab396eb1b6a">PxVehicleDriveTankControl::eANALOG_INPUT_ACCEL</a>]=accel;</div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;    }</div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;</div><div class="line"><a name="l00475"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a5e456c1b780b26b900d47afe0c0509ef">  475</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#a5e456c1b780b26b900d47afe0c0509ef">setAnalogLeftThrust</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#ab4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> leftThrust)            </div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;    {</div><div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;<span class="preprocessor">#if PX_CHECKED</span></div><div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;        <span class="keywordflow">if</span>(mMode == <a class="code" href="structPxVehicleDriveTankControlModel.html#a15800ba4f6142803c1b0d0098a942b13a624816a2f960b2025b6c24dd5205fc1b">PxVehicleDriveTankControlModel::eSPECIAL</a>)</div><div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;        {</div><div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;            testValidAnalogValue(leftThrust, -1.0f, 1.0f, <span class="stringliteral">&quot;Tank left thrust must be in range (-1,1) in eSPECIAL mode.&quot;</span>);</div><div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;        }</div><div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;        <span class="keywordflow">else</span></div><div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;        {</div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;            testValidAnalogValue(leftThrust, 0.0f, 1.0f, <span class="stringliteral">&quot;Tank left thrust must be in range (0,1) in eSTANDARD mode.&quot;</span>);</div><div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;        }</div><div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;        mRawAnalogInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca5fd1badaa124dfe45b78ea77d41e5a88">PxVehicleDriveTankControl::eANALOG_INPUT_THRUST_LEFT</a>]=leftThrust;</div><div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;    }</div><div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;</div><div class="line"><a name="l00495"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a1dacc730a946b0e23d57968a22d9ff72">  495</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#a1dacc730a946b0e23d57968a22d9ff72">setAnalogRightThrust</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#ab4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> rightThrust)          </div><div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;    {</div><div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;<span class="preprocessor">#if PX_CHECKED</span></div><div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;        <span class="keywordflow">if</span>(mMode == <a class="code" href="structPxVehicleDriveTankControlModel.html#a15800ba4f6142803c1b0d0098a942b13a624816a2f960b2025b6c24dd5205fc1b">PxVehicleDriveTankControlModel::eSPECIAL</a>)</div><div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;        {</div><div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;            testValidAnalogValue(rightThrust, -1.0f, 1.0f, <span class="stringliteral">&quot;Tank right thrust must be in range (-1,1) in eSPECIAL mode.&quot;</span>);</div><div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;        }</div><div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;        <span class="keywordflow">else</span></div><div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;        {</div><div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;            testValidAnalogValue(rightThrust, 0.0f, 1.0f, <span class="stringliteral">&quot;Tank right thrust must be in range (0,1) in eSTANDARD mode.&quot;</span>);</div><div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;        }</div><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;        mRawAnalogInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5caf9fe3fceb9090bb618d8ecbc990034f3">PxVehicleDriveTankControl::eANALOG_INPUT_THRUST_RIGHT</a>]=rightThrust;</div><div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;    }</div><div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;</div><div class="line"><a name="l00515"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#ab1694ab536feae168670452b88804d08">  515</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#ab1694ab536feae168670452b88804d08">setAnalogLeftBrake</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#ab4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> leftBrake)          </div><div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;    {</div><div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;<span class="preprocessor">#if PX_CHECKED</span></div><div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;        testValidAnalogValue(leftBrake, 0.0f, 1.0f, <span class="stringliteral">&quot;Tank left brake must be in range (0,1).&quot;</span>);</div><div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;        mRawAnalogInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca0e0c1828cf31979089fa9a82c1da9d49">PxVehicleDriveTankControl::eANALOG_INPUT_BRAKE_LEFT</a>]=leftBrake;</div><div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;    }</div><div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;</div><div class="line"><a name="l00528"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#aba110cc558497adbe79c2abb3d45504c">  528</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#aba110cc558497adbe79c2abb3d45504c">setAnalogRightBrake</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#ab4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> rightBrake)            </div><div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;    {</div><div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;<span class="preprocessor">#if PX_CHECKED</span></div><div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;        testValidAnalogValue(rightBrake, 0.0f, 1.0f, <span class="stringliteral">&quot;Tank right brake must be in range (0,1).&quot;</span>);</div><div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;        mRawAnalogInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca2bc6e1cf01b82577d18626f6b2186f2b">PxVehicleDriveTankControl::eANALOG_INPUT_BRAKE_RIGHT</a>]=rightBrake;</div><div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;    }</div><div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;</div><div class="line"><a name="l00540"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a9dc2e1910d4f868a394d9b7a93a12512">  540</a></span>&#160;    <a class="code" href="namespacephysx.html#ab4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> <a class="code" href="classPxVehicleDriveTankRawInputData.html#a9dc2e1910d4f868a394d9b7a93a12512">getAnalogAccel</a>()<span class="keyword"> const                                </span></div><div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;        <span class="keywordflow">return</span> mRawAnalogInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca4d4d74266256f5785bff0ab396eb1b6a">PxVehicleDriveTankControl::eANALOG_INPUT_ACCEL</a>];</div><div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;    }</div><div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;</div><div class="line"><a name="l00549"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#ad34a51b980353407a770bbb1366b9e57">  549</a></span>&#160;    <a class="code" href="namespacephysx.html#ab4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> <a class="code" href="classPxVehicleDriveTankRawInputData.html#ad34a51b980353407a770bbb1366b9e57">getAnalogLeftThrust</a>()<span class="keyword"> const                           </span></div><div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;        <span class="keywordflow">return</span> mRawAnalogInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca5fd1badaa124dfe45b78ea77d41e5a88">PxVehicleDriveTankControl::eANALOG_INPUT_THRUST_LEFT</a>];</div><div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;    }</div><div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;</div><div class="line"><a name="l00558"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#ade628040975af30cfd3cbe679799c7f9">  558</a></span>&#160;    <a class="code" href="namespacephysx.html#ab4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> <a class="code" href="classPxVehicleDriveTankRawInputData.html#ade628040975af30cfd3cbe679799c7f9">getAnalogRightThrust</a>()<span class="keyword"> const                      </span></div><div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;        <span class="keywordflow">return</span> mRawAnalogInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5caf9fe3fceb9090bb618d8ecbc990034f3">PxVehicleDriveTankControl::eANALOG_INPUT_THRUST_RIGHT</a>];</div><div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;    }</div><div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;</div><div class="line"><a name="l00567"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#ab0b04ca110f33288a73a68585960b86e">  567</a></span>&#160;    <a class="code" href="namespacephysx.html#ab4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> <a class="code" href="classPxVehicleDriveTankRawInputData.html#ab0b04ca110f33288a73a68585960b86e">getAnalogLeftBrake</a>()<span class="keyword"> const                            </span></div><div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;        <span class="keywordflow">return</span> mRawAnalogInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca0e0c1828cf31979089fa9a82c1da9d49">PxVehicleDriveTankControl::eANALOG_INPUT_BRAKE_LEFT</a>];</div><div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;    }</div><div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;</div><div class="line"><a name="l00576"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#af1faf08559fef8f1232eb4404dab0172">  576</a></span>&#160;    <a class="code" href="namespacephysx.html#ab4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> <a class="code" href="classPxVehicleDriveTankRawInputData.html#af1faf08559fef8f1232eb4404dab0172">getAnalogRightBrake</a>()<span class="keyword"> const                           </span></div><div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;        <span class="keywordflow">return</span> mRawAnalogInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca2bc6e1cf01b82577d18626f6b2186f2b">PxVehicleDriveTankControl::eANALOG_INPUT_BRAKE_RIGHT</a>];</div><div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;    }</div><div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;</div><div class="line"><a name="l00585"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a0093f8a955f714617b1269a652f0c709">  585</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#a0093f8a955f714617b1269a652f0c709">setGearUp</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> gearUp)                   {mGearUp=gearUp;}</div><div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;</div><div class="line"><a name="l00591"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a4ff7609f917b69e7bc329540b2c3aaa2">  591</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#a4ff7609f917b69e7bc329540b2c3aaa2">setGearDown</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> gearDown)               {mGearDown=gearDown;}</div><div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;</div><div class="line"><a name="l00597"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a2a43f3adc9812819bb24dd20ecfaeef0">  597</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#a2a43f3adc9812819bb24dd20ecfaeef0">getGearUp</a>()<span class="keyword"> const                              </span>{<span class="keywordflow">return</span> mGearUp;}</div><div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;</div><div class="line"><a name="l00603"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a8d8498e24c583d12ee75148eea368256">  603</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#a8d8498e24c583d12ee75148eea368256">getGearDown</a>()<span class="keyword"> const                            </span>{<span class="keywordflow">return</span> mGearDown;}</div><div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;</div><div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;</div><div class="line"><a name="l00607"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a853df27dada318a90e9020ac805a9dfe">  607</a></span>&#160;    <a class="code" href="structPxVehicleDriveTankControlModel.html#a15800ba4f6142803c1b0d0098a942b13">PxVehicleDriveTankControlModel::Enum</a> <a class="code" href="classPxVehicleDriveTankRawInputData.html#a853df27dada318a90e9020ac805a9dfe">mMode</a>;</div><div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;</div><div class="line"><a name="l00609"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#aa7cf15cb0d4bf96823ebd05827fa0100">  609</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mRawAnalogInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca1e723ae081f8a1849fab0baab509bd04">PxVehicleDriveTankControl::eMAX_NB_DRIVETANK_ANALOG_INPUTS</a>];</div><div class="line"><a name="l00610"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a849aeca3344c2a5b17c3eb83de787e97">  610</a></span>&#160;    <span class="keywordtype">bool</span> mRawDigitalInputs[<a class="code" href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca1e723ae081f8a1849fab0baab509bd04">PxVehicleDriveTankControl::eMAX_NB_DRIVETANK_ANALOG_INPUTS</a>];</div><div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;</div><div class="line"><a name="l00612"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#a880f540045663531dd9a645433dee98b">  612</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#a880f540045663531dd9a645433dee98b">mGearUp</a>;</div><div class="line"><a name="l00613"></a><span class="lineno"><a class="line" href="classPxVehicleDriveTankRawInputData.html#acd4f2db686a61354b58ad996a5e0c4b0">  613</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html#acd4f2db686a61354b58ad996a5e0c4b0">mGearDown</a>;</div><div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;};</div><div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;</div><div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__vehicle.html#ga89b530b003b89280677e09327fbdb606">PxVehicleDriveTankSmoothDigitalRawInputsAndSetAnalogInputs</a></div><div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;(<span class="keyword">const</span> <a class="code" href="structPxVehicleKeySmoothingData.html">PxVehicleKeySmoothingData</a>&amp; keySmoothing, </div><div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160; <span class="keyword">const</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html">PxVehicleDriveTankRawInputData</a>&amp; rawInputData, </div><div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> timestep, </div><div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160; <a class="code" href="classPxVehicleDriveTank.html">PxVehicleDriveTank</a>&amp; focusVehicle);</div><div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;</div><div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;</div><div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__vehicle.html#ga2b7e00f8931f3b84d3aa6510d7a6cfaa">PxVehicleDriveTankSmoothAnalogRawInputsAndSetAnalogInputs</a></div><div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;(<span class="keyword">const</span> <a class="code" href="structPxVehiclePadSmoothingData.html">PxVehiclePadSmoothingData</a>&amp; padSmoothing, </div><div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160; <span class="keyword">const</span> <a class="code" href="classPxVehicleDriveTankRawInputData.html">PxVehicleDriveTankRawInputData</a>&amp; rawInputData, </div><div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> timestep, </div><div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160; <a class="code" href="classPxVehicleDriveTank.html">PxVehicleDriveTank</a>&amp; focusVehicle);</div><div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;</div><div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;</div><div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;<span class="preprocessor">#if !PX_DOXYGEN</span></div><div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;} <span class="comment">// namespace physx</span></div><div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;</div><div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;<span class="preprocessor">#endif //PX_VEHICLE_CONTROL_H</span></div><div class="ttc" id="namespacephysx_html"><div class="ttname"><a href="namespacephysx.html">physx</a></div><div class="ttdef"><b>Definition:</b> GuContactBuffer.h:37</div></div>
<div class="ttc" id="classPxVehicleDriveNWRawInputData_html_a69da40337ef28425e015fc3ba0bde4eb"><div class="ttname"><a href="classPxVehicleDriveNWRawInputData.html#a69da40337ef28425e015fc3ba0bde4eb">PxVehicleDriveNWRawInputData::PxVehicleDriveNWRawInputData</a></div><div class="ttdeci">PxVehicleDriveNWRawInputData()</div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:323</div></div>
<div class="ttc" id="structPxVehicleDrive4WControl_html_a72fd4871288500845821292d33bb6c83a7785ddf2b2ed793b8cb7eac20a2f0b8d"><div class="ttname"><a href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a7785ddf2b2ed793b8cb7eac20a2f0b8d">PxVehicleDrive4WControl::eANALOG_INPUT_HANDBRAKE</a></div><div class="ttdef"><b>Definition:</b> PxVehicleDrive4W.h:166</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a9dc2e1910d4f868a394d9b7a93a12512"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a9dc2e1910d4f868a394d9b7a93a12512">PxVehicleDriveTankRawInputData::getAnalogAccel</a></div><div class="ttdeci">PxF32 getAnalogAccel() const</div><div class="ttdoc">Return the analog accel value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:540</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_a39a229c2fbc12f23ab146a6ce6b014ee"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#a39a229c2fbc12f23ab146a6ce6b014ee">PxVehicleDrive4WRawInputData::setDigitalAccel</a></div><div class="ttdeci">void setDigitalAccel(const bool accelKeyPressed)</div><div class="ttdoc">Record if the accel button has been pressed on keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:118</div></div>
<div class="ttc" id="PxVehicleDriveTank_8h_html"><div class="ttname"><a href="PxVehicleDriveTank_8h.html">PxVehicleDriveTank.h</a></div></div>
<div class="ttc" id="namespacephysx_html_ab4cf332bdb6e8b183e40b6973acc1e9b"><div class="ttname"><a href="namespacephysx.html#ab4cf332bdb6e8b183e40b6973acc1e9b">physx::PxF32</a></div><div class="ttdeci">float PxF32</div><div class="ttdef"><b>Definition:</b> PxSimpleTypes.h:76</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a99b71417ecdde92487aa06d3c0ecb832"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a99b71417ecdde92487aa06d3c0ecb832">PxVehicleDriveTankRawInputData::PxVehicleDriveTankRawInputData</a></div><div class="ttdeci">PxVehicleDriveTankRawInputData(const PxVehicleDriveTankControlModel::Enum mode)</div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:370</div></div>
<div class="ttc" id="group__vehicle_html_ga784f2317a01aa2367b6170bfabdc5097"><div class="ttname"><a href="group__vehicle.html#ga784f2317a01aa2367b6170bfabdc5097">PxVehicleDrive4WSmoothAnalogRawInputsAndSetAnalogInputs</a></div><div class="ttdeci">void PxVehicleDrive4WSmoothAnalogRawInputsAndSetAnalogInputs(const PxVehiclePadSmoothingData &amp;padSmoothing, const PxFixedSizeLookupTable&lt; 8 &gt; &amp;steerVsForwardSpeedTable, const PxVehicleDrive4WRawInputData &amp;rawInputData, const PxReal timestep, const bool isVehicleInAir, PxVehicleDrive4W &amp;focusVehicle)</div><div class="ttdoc">Used to smooth and set analog vehicle control values from analog inputs (gamepad). Also used to set boolean gearup, geardown values. </div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a5e456c1b780b26b900d47afe0c0509ef"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a5e456c1b780b26b900d47afe0c0509ef">PxVehicleDriveTankRawInputData::setAnalogLeftThrust</a></div><div class="ttdeci">void setAnalogLeftThrust(const PxF32 leftThrust)</div><div class="ttdoc">Set the analog left thrust value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:475</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a1114b2a8aaeea8218fd48d537d9022e9"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a1114b2a8aaeea8218fd48d537d9022e9">PxVehicleDriveTankRawInputData::getDriveModel</a></div><div class="ttdeci">PxVehicleDriveTankControlModel::Enum getDriveModel() const</div><div class="ttdoc">Return the drive model (eDRIVE_MODEL_SPECIAL or eDRIVE_MODEL_STANDARD) </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:391</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a2a43f3adc9812819bb24dd20ecfaeef0"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a2a43f3adc9812819bb24dd20ecfaeef0">PxVehicleDriveTankRawInputData::getGearUp</a></div><div class="ttdeci">bool getGearUp() const</div><div class="ttdoc">Return if the gear-up button has been pressed on keyboard or gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:597</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_a9cdadaadd20df14f593d82742673a753"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#a9cdadaadd20df14f593d82742673a753">PxVehicleDrive4WRawInputData::getGearDown</a></div><div class="ttdeci">bool getGearDown() const</div><div class="ttdoc">Record if the geardown button has been pressed on keyboard or gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:269</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_aa5a7c8943c3ad9b20901988388614505"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#aa5a7c8943c3ad9b20901988388614505">PxVehicleDrive4WRawInputData::setDigitalBrake</a></div><div class="ttdeci">void setDigitalBrake(const bool brakeKeyPressed)</div><div class="ttdoc">Record if the brake button has been pressed on keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:124</div></div>
<div class="ttc" id="namespacephysx_html_a727d2d8426e2a21ebbc522fa65c3f97a"><div class="ttname"><a href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">physx::PxReal</a></div><div class="ttdeci">float PxReal</div><div class="ttdef"><b>Definition:</b> PxSimpleTypes.h:78</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_a1c00eeaa121008edc961f29d94b9b0b9"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#a1c00eeaa121008edc961f29d94b9b0b9">PxVehicleDrive4WRawInputData::getGearUp</a></div><div class="ttdeci">bool getGearUp() const</div><div class="ttdoc">Return if the gearup button has been pressed on keyboard or gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:263</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_ab0b04ca110f33288a73a68585960b86e"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#ab0b04ca110f33288a73a68585960b86e">PxVehicleDriveTankRawInputData::getAnalogLeftBrake</a></div><div class="ttdeci">PxF32 getAnalogLeftBrake() const</div><div class="ttdoc">Return the analog left brake value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:567</div></div>
<div class="ttc" id="classPxVehicleDriveNW_html"><div class="ttname"><a href="classPxVehicleDriveNW.html">PxVehicleDriveNW</a></div><div class="ttdoc">Data structure with instanced dynamics data and configuration data of a vehicle with up to PX_MAX_NB_...</div><div class="ttdef"><b>Definition:</b> PxVehicleDriveNW.h:134</div></div>
<div class="ttc" id="structPxVehicleKeySmoothingData_html"><div class="ttname"><a href="structPxVehicleKeySmoothingData.html">PxVehicleKeySmoothingData</a></div><div class="ttdoc">Used to produce smooth vehicle driving control values from key inputs. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:54</div></div>
<div class="ttc" id="structPxVehicleDrive4WControl_html_a72fd4871288500845821292d33bb6c83a782d6557bda10f7a3a01a74836f5bb24"><div class="ttname"><a href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a782d6557bda10f7a3a01a74836f5bb24">PxVehicleDrive4WControl::eMAX_NB_DRIVE4W_ANALOG_INPUTS</a></div><div class="ttdef"><b>Definition:</b> PxVehicleDrive4W.h:169</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a4ff7609f917b69e7bc329540b2c3aaa2"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a4ff7609f917b69e7bc329540b2c3aaa2">PxVehicleDriveTankRawInputData::setGearDown</a></div><div class="ttdeci">void setGearDown(const bool gearDown)</div><div class="ttdoc">Record if the gear-down button has been pressed on keyboard or gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:591</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_aaaf283825f0b12f470ef3a1f373e3d96"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#aaaf283825f0b12f470ef3a1f373e3d96">PxVehicleDrive4WRawInputData::getDigitalSteerLeft</a></div><div class="ttdeci">bool getDigitalSteerLeft() const</div><div class="ttdoc">Return if the left steer button has been pressed on keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:167</div></div>
<div class="ttc" id="PxVehicleSDK_8h_html"><div class="ttname"><a href="PxVehicleSDK_8h.html">PxVehicleSDK.h</a></div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_acd4f2db686a61354b58ad996a5e0c4b0"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#acd4f2db686a61354b58ad996a5e0c4b0">PxVehicleDriveTankRawInputData::mGearDown</a></div><div class="ttdeci">bool mGearDown</div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:613</div></div>
<div class="ttc" id="structPxVehicleDriveTankControl_html_a13e9cce8dce77a82f7598c930d0c0c5ca1e723ae081f8a1849fab0baab509bd04"><div class="ttname"><a href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca1e723ae081f8a1849fab0baab509bd04">PxVehicleDriveTankControl::eMAX_NB_DRIVETANK_ANALOG_INPUTS</a></div><div class="ttdef"><b>Definition:</b> PxVehicleDriveTank.h:114</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a45834fa9777a3d5f28b315809623a35c"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a45834fa9777a3d5f28b315809623a35c">PxVehicleDriveTankRawInputData::getDigitalLeftBrake</a></div><div class="ttdeci">bool getDigitalLeftBrake() const</div><div class="ttdoc">Return if the left brake button has been pressed on the keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:448</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a29658e38bd6955d4d5e96836db89dcfa"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a29658e38bd6955d4d5e96836db89dcfa">PxVehicleDriveTankRawInputData::getDigitalLeftThrust</a></div><div class="ttdeci">bool getDigitalLeftThrust() const</div><div class="ttdoc">Return if the left thrust button has been pressed on the keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:436</div></div>
<div class="ttc" id="structPxVehicleDriveTankControl_html_a13e9cce8dce77a82f7598c930d0c0c5ca0e0c1828cf31979089fa9a82c1da9d49"><div class="ttname"><a href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca0e0c1828cf31979089fa9a82c1da9d49">PxVehicleDriveTankControl::eANALOG_INPUT_BRAKE_LEFT</a></div><div class="ttdef"><b>Definition:</b> PxVehicleDriveTank.h:110</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_a593f6e943b54f4f4277a4c41153a762d"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#a593f6e943b54f4f4277a4c41153a762d">PxVehicleDrive4WRawInputData::getAnalogBrake</a></div><div class="ttdeci">PxReal getAnalogBrake() const</div><div class="ttdoc">Return the analog brake value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:234</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_ac560ad95fbaab0a989a49a6fe2848463"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#ac560ad95fbaab0a989a49a6fe2848463">PxVehicleDrive4WRawInputData::getAnalogHandbrake</a></div><div class="ttdeci">PxReal getAnalogHandbrake() const</div><div class="ttdoc">Return the analog handbrake value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:240</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_aae40c329bffbd77ccfe942218a7bfe0e"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#aae40c329bffbd77ccfe942218a7bfe0e">PxVehicleDrive4WRawInputData::mGearDown</a></div><div class="ttdeci">bool mGearDown</div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:277</div></div>
<div class="ttc" id="structPxVehicleDriveTankControlModel_html_a15800ba4f6142803c1b0d0098a942b13"><div class="ttname"><a href="structPxVehicleDriveTankControlModel.html#a15800ba4f6142803c1b0d0098a942b13">PxVehicleDriveTankControlModel::Enum</a></div><div class="ttdeci">Enum</div><div class="ttdef"><b>Definition:</b> PxVehicleDriveTank.h:139</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_a5849bbe5d93b0a6178fe05413fd2f38e"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#a5849bbe5d93b0a6178fe05413fd2f38e">PxVehicleDrive4WRawInputData::setGearDown</a></div><div class="ttdeci">void setGearDown(const bool gearDownKeyPressed)</div><div class="ttdoc">Record if the geardown button has been pressed on keyboard or gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:257</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_ade628040975af30cfd3cbe679799c7f9"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#ade628040975af30cfd3cbe679799c7f9">PxVehicleDriveTankRawInputData::getAnalogRightThrust</a></div><div class="ttdeci">PxF32 getAnalogRightThrust() const</div><div class="ttdoc">Return the analog right thrust value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:558</div></div>
<div class="ttc" id="classPxFixedSizeLookupTable_html"><div class="ttname"><a href="classPxFixedSizeLookupTable.html">PxFixedSizeLookupTable</a></div><div class="ttdef"><b>Definition:</b> PxCoreUtilityTypes.h:100</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a26c7b1565690a17ca3837a25fb8332ba"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a26c7b1565690a17ca3837a25fb8332ba">PxVehicleDriveTankRawInputData::getDigitalAccel</a></div><div class="ttdeci">bool getDigitalAccel() const</div><div class="ttdoc">Return if the accel button has been pressed on the keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:430</div></div>
<div class="ttc" id="structPxVehiclePadSmoothingData_html"><div class="ttname"><a href="structPxVehiclePadSmoothingData.html">PxVehiclePadSmoothingData</a></div><div class="ttdoc">Used to produce smooth analog vehicle control values from analog inputs. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:74</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_ad63aa0083730fbafb77e60b76fc9c985"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#ad63aa0083730fbafb77e60b76fc9c985">PxVehicleDrive4WRawInputData::setDigitalHandbrake</a></div><div class="ttdeci">void setDigitalHandbrake(const bool handbrakeKeyPressed)</div><div class="ttdoc">Record if the handbrake button has been pressed on keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:130</div></div>
<div class="ttc" id="group__vehicle_html_ga2da633b926f231e27c27dcb877535bc3"><div class="ttname"><a href="group__vehicle.html#ga2da633b926f231e27c27dcb877535bc3">PxVehicleDriveNWSmoothAnalogRawInputsAndSetAnalogInputs</a></div><div class="ttdeci">void PxVehicleDriveNWSmoothAnalogRawInputsAndSetAnalogInputs(const PxVehiclePadSmoothingData &amp;padSmoothing, const PxFixedSizeLookupTable&lt; 8 &gt; &amp;steerVsForwardSpeedTable, const PxVehicleDriveNWRawInputData &amp;rawInputData, const PxReal timestep, const bool isVehicleInAir, PxVehicleDriveNW &amp;focusVehicle)</div><div class="ttdoc">Used to smooth and set analog vehicle control values from analog inputs (gamepad). Also used to set boolean gearup, geardown values. </div></div>
<div class="ttc" id="structPxVehicleDriveTankControl_html_a13e9cce8dce77a82f7598c930d0c0c5ca5fd1badaa124dfe45b78ea77d41e5a88"><div class="ttname"><a href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca5fd1badaa124dfe45b78ea77d41e5a88">PxVehicleDriveTankControl::eANALOG_INPUT_THRUST_LEFT</a></div><div class="ttdef"><b>Definition:</b> PxVehicleDriveTank.h:112</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_a8c3d02e579f978409d9ad15a71c46bb5"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#a8c3d02e579f978409d9ad15a71c46bb5">PxVehicleDrive4WRawInputData::~PxVehicleDrive4WRawInputData</a></div><div class="ttdeci">virtual ~PxVehicleDrive4WRawInputData()</div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:110</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_aa505f2e63b2d0c78ff40f14b190b41dc"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#aa505f2e63b2d0c78ff40f14b190b41dc">PxVehicleDrive4WRawInputData::getDigitalBrake</a></div><div class="ttdeci">bool getDigitalBrake() const</div><div class="ttdoc">Return if the brake button has been pressed on keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:155</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_ad98a22d3fcdbaf1f2731e3072d3315c6"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#ad98a22d3fcdbaf1f2731e3072d3315c6">PxVehicleDriveTankRawInputData::setDigitalRightBrake</a></div><div class="ttdeci">void setDigitalRightBrake(const bool b)</div><div class="ttdoc">Set if the right brake button has been pressed on the keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:424</div></div>
<div class="ttc" id="structPxVehicleDrive4WControl_html_a72fd4871288500845821292d33bb6c83af01b9d695fb73bb3e0316fb01db2037f"><div class="ttname"><a href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83af01b9d695fb73bb3e0316fb01db2037f">PxVehicleDrive4WControl::eANALOG_INPUT_STEER_LEFT</a></div><div class="ttdef"><b>Definition:</b> PxVehicleDrive4W.h:167</div></div>
<div class="ttc" id="structPxVehicleDriveTankControl_html_a13e9cce8dce77a82f7598c930d0c0c5ca4d4d74266256f5785bff0ab396eb1b6a"><div class="ttname"><a href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca4d4d74266256f5785bff0ab396eb1b6a">PxVehicleDriveTankControl::eANALOG_INPUT_ACCEL</a></div><div class="ttdef"><b>Definition:</b> PxVehicleDriveTank.h:109</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_ab2541ef77142c3fc2b4c8a2ce197f512"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#ab2541ef77142c3fc2b4c8a2ce197f512">PxVehicleDrive4WRawInputData::setAnalogHandbrake</a></div><div class="ttdeci">void setAnalogHandbrake(const PxReal handbrake)</div><div class="ttdoc">Set the analog handbrake value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:204</div></div>
<div class="ttc" id="PxVehicleDrive4W_8h_html"><div class="ttname"><a href="PxVehicleDrive4W_8h.html">PxVehicleDrive4W.h</a></div></div>
<div class="ttc" id="classPxVehicleDriveDynData_html_a9eb80a7fe1316aec1a2e1be319e97a65abb804b086657c71c6737676966a60980"><div class="ttname"><a href="classPxVehicleDriveDynData.html#a9eb80a7fe1316aec1a2e1be319e97a65abb804b086657c71c6737676966a60980">PxVehicleDriveDynData::eMAX_NB_ANALOG_INPUTS</a></div><div class="ttdef"><b>Definition:</b> PxVehicleDrive.h:177</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html">PxVehicleDrive4WRawInputData</a></div><div class="ttdoc">Used to produce smooth vehicle driving control values from analog and digital inputs. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:94</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_aff2c19eccad2bec40dcf7eaf5f5de618"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#aff2c19eccad2bec40dcf7eaf5f5de618">PxVehicleDriveTankRawInputData::getDigitalRightBrake</a></div><div class="ttdeci">bool getDigitalRightBrake() const</div><div class="ttdoc">Return if the right brake button has been pressed on the keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:454</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_aa4654bf9fa296e6e2fe3433cc1a79918"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#aa4654bf9fa296e6e2fe3433cc1a79918">PxVehicleDrive4WRawInputData::setDigitalSteerRight</a></div><div class="ttdeci">void setDigitalSteerRight(const bool steerRightKeyPressed)</div><div class="ttdoc">Record if the right steer button has been pressed on keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:142</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_ac0bee2d84b744b13af694bf34384bb76"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#ac0bee2d84b744b13af694bf34384bb76">PxVehicleDrive4WRawInputData::setDigitalSteerLeft</a></div><div class="ttdeci">void setDigitalSteerLeft(const bool steerLeftKeyPressed)</div><div class="ttdoc">Record if the left steer button has been pressed on keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:136</div></div>
<div class="ttc" id="classPxVehicleDriveNWRawInputData_html_ad6f9689e0d5fd748f336891efe91bedb"><div class="ttname"><a href="classPxVehicleDriveNWRawInputData.html#ad6f9689e0d5fd748f336891efe91bedb">PxVehicleDriveNWRawInputData::~PxVehicleDriveNWRawInputData</a></div><div class="ttdeci">~PxVehicleDriveNWRawInputData()</div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:324</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_af9c058df3af57913173e106fd51645d9"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#af9c058df3af57913173e106fd51645d9">PxVehicleDrive4WRawInputData::setAnalogAccel</a></div><div class="ttdeci">void setAnalogAccel(const PxReal accel)</div><div class="ttdoc">Set the analog accel value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:180</div></div>
<div class="ttc" id="structPxVehicleDrive4WControl_html_a72fd4871288500845821292d33bb6c83a7864222af5bf4a1a776dc4115d1bda7a"><div class="ttname"><a href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a7864222af5bf4a1a776dc4115d1bda7a">PxVehicleDrive4WControl::eANALOG_INPUT_ACCEL</a></div><div class="ttdef"><b>Definition:</b> PxVehicleDrive4W.h:164</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_af897772ee3457a2100945890f3d025ef"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#af897772ee3457a2100945890f3d025ef">PxVehicleDrive4WRawInputData::PxVehicleDrive4WRawInputData</a></div><div class="ttdeci">PxVehicleDrive4WRawInputData()</div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:98</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html">PxVehicleDriveTankRawInputData</a></div><div class="ttdoc">Used to produce smooth analog tank control values from analog and digital inputs. ...</div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:366</div></div>
<div class="ttc" id="structPxVehicleDrive4WControl_html_a72fd4871288500845821292d33bb6c83a904c2f2dd96271d5cd0562631b2ecfd2"><div class="ttname"><a href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83a904c2f2dd96271d5cd0562631b2ecfd2">PxVehicleDrive4WControl::eANALOG_INPUT_BRAKE</a></div><div class="ttdef"><b>Definition:</b> PxVehicleDrive4W.h:165</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a96183c87242fda2d2ed1ca56fb24977d"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a96183c87242fda2d2ed1ca56fb24977d">PxVehicleDriveTankRawInputData::setDigitalLeftBrake</a></div><div class="ttdeci">void setDigitalLeftBrake(const bool b)</div><div class="ttdoc">Set if the left brake button has been pressed on the keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:418</div></div>
<div class="ttc" id="group__foundation_html_gab12cc8cbd08c9c19ab0d40b7f789012e"><div class="ttname"><a href="group__foundation.html#gab12cc8cbd08c9c19ab0d40b7f789012e">PX_COMPILE_TIME_ASSERT</a></div><div class="ttdeci">#define PX_COMPILE_TIME_ASSERT(exp)</div><div class="ttdef"><b>Definition:</b> PxPreprocessor.h:434</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_abb4fc64bfd482be992c32ef447b1f46b"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#abb4fc64bfd482be992c32ef447b1f46b">PxVehicleDrive4WRawInputData::getDigitalHandbrake</a></div><div class="ttdeci">bool getDigitalHandbrake() const</div><div class="ttdoc">Return if the handbrake button has been pressed on keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:161</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_a3810abe32f0ef2f586338db4dec5dd5f"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#a3810abe32f0ef2f586338db4dec5dd5f">PxVehicleDrive4WRawInputData::getAnalogAccel</a></div><div class="ttdeci">PxReal getAnalogAccel() const</div><div class="ttdoc">Return the analog accel value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:228</div></div>
<div class="ttc" id="group__vehicle_html_ga61b39294176ee679d4d1229d3ad95966"><div class="ttname"><a href="group__vehicle.html#ga61b39294176ee679d4d1229d3ad95966">PxVehicleDrive4WSmoothDigitalRawInputsAndSetAnalogInputs</a></div><div class="ttdeci">void PxVehicleDrive4WSmoothDigitalRawInputsAndSetAnalogInputs(const PxVehicleKeySmoothingData &amp;keySmoothing, const PxFixedSizeLookupTable&lt; 8 &gt; &amp;steerVsForwardSpeedTable, const PxVehicleDrive4WRawInputData &amp;rawInputData, const PxReal timestep, const bool isVehicleInAir, PxVehicleDrive4W &amp;focusVehicle)</div><div class="ttdoc">Used to smooth and set analog vehicle control values (accel,brake,handbrake,steer) from digital input...</div></div>
<div class="ttc" id="structPxVehicleDriveTankControl_html_a13e9cce8dce77a82f7598c930d0c0c5caf9fe3fceb9090bb618d8ecbc990034f3"><div class="ttname"><a href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5caf9fe3fceb9090bb618d8ecbc990034f3">PxVehicleDriveTankControl::eANALOG_INPUT_THRUST_RIGHT</a></div><div class="ttdef"><b>Definition:</b> PxVehicleDriveTank.h:113</div></div>
<div class="ttc" id="classPxVehicleDrive4W_html"><div class="ttname"><a href="classPxVehicleDrive4W.html">PxVehicleDrive4W</a></div><div class="ttdoc">Data structure with instanced dynamics data and configuration data of a vehicle with up to 4 driven w...</div><div class="ttdef"><b>Definition:</b> PxVehicleDrive4W.h:176</div></div>
<div class="ttc" id="structPxVehicleDriveTankControlModel_html_a15800ba4f6142803c1b0d0098a942b13a624816a2f960b2025b6c24dd5205fc1b"><div class="ttname"><a href="structPxVehicleDriveTankControlModel.html#a15800ba4f6142803c1b0d0098a942b13a624816a2f960b2025b6c24dd5205fc1b">PxVehicleDriveTankControlModel::eSPECIAL</a></div><div class="ttdef"><b>Definition:</b> PxVehicleDriveTank.h:142</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a880f540045663531dd9a645433dee98b"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a880f540045663531dd9a645433dee98b">PxVehicleDriveTankRawInputData::mGearUp</a></div><div class="ttdeci">bool mGearUp</div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:612</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_ad34a51b980353407a770bbb1366b9e57"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#ad34a51b980353407a770bbb1366b9e57">PxVehicleDriveTankRawInputData::getAnalogLeftThrust</a></div><div class="ttdeci">PxF32 getAnalogLeftThrust() const</div><div class="ttdoc">Return the analog left thrust value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:549</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a8d8498e24c583d12ee75148eea368256"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a8d8498e24c583d12ee75148eea368256">PxVehicleDriveTankRawInputData::getGearDown</a></div><div class="ttdeci">bool getGearDown() const</div><div class="ttdoc">Return if the gear-down button has been pressed on keyboard or gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:603</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_a55b3e0151ca011438b5de595741e0ccf"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#a55b3e0151ca011438b5de595741e0ccf">PxVehicleDrive4WRawInputData::setAnalogSteer</a></div><div class="ttdeci">void setAnalogSteer(const PxReal steer)</div><div class="ttdoc">Set the analog steer value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:216</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a0093f8a955f714617b1269a652f0c709"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a0093f8a955f714617b1269a652f0c709">PxVehicleDriveTankRawInputData::setGearUp</a></div><div class="ttdeci">void setGearUp(const bool gearUp)</div><div class="ttdoc">Record if the gear-up button has been pressed on keyboard or gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:585</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_ae5379f5da9762716cf7d567af369ed1e"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#ae5379f5da9762716cf7d567af369ed1e">PxVehicleDriveTankRawInputData::setDigitalLeftThrust</a></div><div class="ttdeci">void setDigitalLeftThrust(const bool b)</div><div class="ttdoc">Set if the left thrust button has been pressed on the keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:406</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a7fc4bdc316bf48cb15dfa26a43dd6978"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a7fc4bdc316bf48cb15dfa26a43dd6978">PxVehicleDriveTankRawInputData::~PxVehicleDriveTankRawInputData</a></div><div class="ttdeci">~PxVehicleDriveTankRawInputData()</div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:383</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_ad51aa73a1241b4dd27de1c810aca5ae4"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#ad51aa73a1241b4dd27de1c810aca5ae4">PxVehicleDrive4WRawInputData::getDigitalAccel</a></div><div class="ttdeci">bool getDigitalAccel() const</div><div class="ttdoc">Return if the accel button has been pressed on keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:149</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_a96d32688f239c2f9379616c6fbbde422"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#a96d32688f239c2f9379616c6fbbde422">PxVehicleDrive4WRawInputData::setAnalogBrake</a></div><div class="ttdeci">void setAnalogBrake(const PxReal brake)</div><div class="ttdoc">Set the analog brake value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:192</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_acf0b896be885e802b7d019b99fdc755d"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#acf0b896be885e802b7d019b99fdc755d">PxVehicleDrive4WRawInputData::mGearUp</a></div><div class="ttdeci">bool mGearUp</div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:276</div></div>
<div class="ttc" id="group__vehicle_html_ga2b7e00f8931f3b84d3aa6510d7a6cfaa"><div class="ttname"><a href="group__vehicle.html#ga2b7e00f8931f3b84d3aa6510d7a6cfaa">PxVehicleDriveTankSmoothAnalogRawInputsAndSetAnalogInputs</a></div><div class="ttdeci">void PxVehicleDriveTankSmoothAnalogRawInputsAndSetAnalogInputs(const PxVehiclePadSmoothingData &amp;padSmoothing, const PxVehicleDriveTankRawInputData &amp;rawInputData, const PxReal timestep, PxVehicleDriveTank &amp;focusVehicle)</div><div class="ttdoc">Used to smooth and set analog tank control values from analog inputs (gamepad). Also used to set bool...</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a1dacc730a946b0e23d57968a22d9ff72"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a1dacc730a946b0e23d57968a22d9ff72">PxVehicleDriveTankRawInputData::setAnalogRightThrust</a></div><div class="ttdeci">void setAnalogRightThrust(const PxF32 rightThrust)</div><div class="ttdoc">Set the analog right thrust value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:495</div></div>
<div class="ttc" id="group__foundation_html_gacce5749db3dcfb916e98c253374264ed"><div class="ttname"><a href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a></div><div class="ttdeci">uint32_t PxU32</div><div class="ttdef"><b>Definition:</b> Px.h:48</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_aba1a38302de5b91b35c83d79053fc564"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#aba1a38302de5b91b35c83d79053fc564">PxVehicleDriveTankRawInputData::setDigitalAccel</a></div><div class="ttdeci">void setDigitalAccel(const bool b)</div><div class="ttdoc">Set if the accel button has been pressed on the keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:400</div></div>
<div class="ttc" id="structPxVehicleDrive4WControl_html_a72fd4871288500845821292d33bb6c83aabafb1fb6ab8cec26ef7f1c4e3c5fb0d"><div class="ttname"><a href="structPxVehicleDrive4WControl.html#a72fd4871288500845821292d33bb6c83aabafb1fb6ab8cec26ef7f1c4e3c5fb0d">PxVehicleDrive4WControl::eANALOG_INPUT_STEER_RIGHT</a></div><div class="ttdef"><b>Definition:</b> PxVehicleDrive4W.h:168</div></div>
<div class="ttc" id="classPxVehicleDriveTank_html"><div class="ttname"><a href="classPxVehicleDriveTank.html">PxVehicleDriveTank</a></div><div class="ttdoc">Data structure with instanced dynamics data and configuration data of a tank. </div><div class="ttdef"><b>Definition:</b> PxVehicleDriveTank.h:150</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a1af6a6d1b1fb77d0bcc7e5af1e350a14"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a1af6a6d1b1fb77d0bcc7e5af1e350a14">PxVehicleDriveTankRawInputData::setAnalogAccel</a></div><div class="ttdeci">void setAnalogAccel(const PxF32 accel)</div><div class="ttdoc">Set the analog accel value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:462</div></div>
<div class="ttc" id="group__vehicle_html_ga89b530b003b89280677e09327fbdb606"><div class="ttname"><a href="group__vehicle.html#ga89b530b003b89280677e09327fbdb606">PxVehicleDriveTankSmoothDigitalRawInputsAndSetAnalogInputs</a></div><div class="ttdeci">void PxVehicleDriveTankSmoothDigitalRawInputsAndSetAnalogInputs(const PxVehicleKeySmoothingData &amp;keySmoothing, const PxVehicleDriveTankRawInputData &amp;rawInputData, const PxReal timestep, PxVehicleDriveTank &amp;focusVehicle)</div><div class="ttdoc">Used to smooth and set analog tank control values from digital inputs (keyboard). Also used to set bo...</div></div>
<div class="ttc" id="structPxVehicleDriveTankControl_html_a13e9cce8dce77a82f7598c930d0c0c5ca2bc6e1cf01b82577d18626f6b2186f2b"><div class="ttname"><a href="structPxVehicleDriveTankControl.html#a13e9cce8dce77a82f7598c930d0c0c5ca2bc6e1cf01b82577d18626f6b2186f2b">PxVehicleDriveTankControl::eANALOG_INPUT_BRAKE_RIGHT</a></div><div class="ttdef"><b>Definition:</b> PxVehicleDriveTank.h:111</div></div>
<div class="ttc" id="group__vehicle_html_gaa537690bce749bdce4e5eca80d43d53a"><div class="ttname"><a href="group__vehicle.html#gaa537690bce749bdce4e5eca80d43d53a">PxVehicleDriveNWSmoothDigitalRawInputsAndSetAnalogInputs</a></div><div class="ttdeci">void PxVehicleDriveNWSmoothDigitalRawInputsAndSetAnalogInputs(const PxVehicleKeySmoothingData &amp;keySmoothing, const PxFixedSizeLookupTable&lt; 8 &gt; &amp;steerVsForwardSpeedTable, const PxVehicleDriveNWRawInputData &amp;rawInputData, const PxReal timestep, const bool isVehicleInAir, PxVehicleDriveNW &amp;focusVehicle)</div><div class="ttdoc">Used to smooth and set analog vehicle control values (accel,brake,handbrake,steer) from digital input...</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_aca18dd87c780d3658a0c1c120446218a"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#aca18dd87c780d3658a0c1c120446218a">PxVehicleDrive4WRawInputData::getDigitalSteerRight</a></div><div class="ttdeci">bool getDigitalSteerRight() const</div><div class="ttdoc">Return if the right steer button has been pressed on keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:173</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_ab1694ab536feae168670452b88804d08"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#ab1694ab536feae168670452b88804d08">PxVehicleDriveTankRawInputData::setAnalogLeftBrake</a></div><div class="ttdeci">void setAnalogLeftBrake(const PxF32 leftBrake)</div><div class="ttdoc">Set the analog left brake value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:515</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_ac22416b1a87417927f048b4bbc29b328"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#ac22416b1a87417927f048b4bbc29b328">PxVehicleDriveTankRawInputData::getDigitalRightThrust</a></div><div class="ttdeci">bool getDigitalRightThrust() const</div><div class="ttdoc">Return if the right thrust button has been pressed on the keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:442</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_aa4981fac8d036a4616ba2980f757e3ab"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#aa4981fac8d036a4616ba2980f757e3ab">PxVehicleDriveTankRawInputData::setDigitalRightThrust</a></div><div class="ttdeci">void setDigitalRightThrust(const bool b)</div><div class="ttdoc">Set if the right thrust button has been pressed on the keyboard. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:412</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_a853df27dada318a90e9020ac805a9dfe"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#a853df27dada318a90e9020ac805a9dfe">PxVehicleDriveTankRawInputData::mMode</a></div><div class="ttdeci">PxVehicleDriveTankControlModel::Enum mMode</div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:607</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_af1faf08559fef8f1232eb4404dab0172"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#af1faf08559fef8f1232eb4404dab0172">PxVehicleDriveTankRawInputData::getAnalogRightBrake</a></div><div class="ttdeci">PxF32 getAnalogRightBrake() const</div><div class="ttdoc">Return the analog right brake value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:576</div></div>
<div class="ttc" id="PxVehicleDriveNW_8h_html"><div class="ttname"><a href="PxVehicleDriveNW_8h.html">PxVehicleDriveNW.h</a></div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_add91327bf12c6c5578e20d9df82d0432"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#add91327bf12c6c5578e20d9df82d0432">PxVehicleDrive4WRawInputData::setGearUp</a></div><div class="ttdeci">void setGearUp(const bool gearUpKeyPressed)</div><div class="ttdoc">Record if the gearup button has been pressed on keyboard or gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:251</div></div>
<div class="ttc" id="classPxVehicleDrive4WRawInputData_html_a35d4130df26dd732d7ad84eedd2a3097"><div class="ttname"><a href="classPxVehicleDrive4WRawInputData.html#a35d4130df26dd732d7ad84eedd2a3097">PxVehicleDrive4WRawInputData::getAnalogSteer</a></div><div class="ttdeci">PxReal getAnalogSteer() const</div><div class="ttdoc">Return the analog steer value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:245</div></div>
<div class="ttc" id="classPxVehicleDriveTankRawInputData_html_aba110cc558497adbe79c2abb3d45504c"><div class="ttname"><a href="classPxVehicleDriveTankRawInputData.html#aba110cc558497adbe79c2abb3d45504c">PxVehicleDriveTankRawInputData::setAnalogRightBrake</a></div><div class="ttdeci">void setAnalogRightBrake(const PxF32 rightBrake)</div><div class="ttdoc">Set the analog right brake value from the gamepad. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:528</div></div>
<div class="ttc" id="classPxVehicleDriveNWRawInputData_html"><div class="ttname"><a href="classPxVehicleDriveNWRawInputData.html">PxVehicleDriveNWRawInputData</a></div><div class="ttdoc">Used to produce smooth vehicle driving control values from analog and digital inputs. </div><div class="ttdef"><b>Definition:</b> PxVehicleUtilControl.h:319</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_713b4d6d20ce249967929ad234a3da6e.html">include</a></li><li class="navelem"><a class="el" href="dir_a8ea22b8a350d107aa09b072e69816c6.html">vehicle</a></li><li class="navelem"><a class="el" href="PxVehicleUtilControl_8h.html">PxVehicleUtilControl.h</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
